-- =========================================================================================
-- 				PROTECT THE VIP - Gamemode by SteveUK
--  You are free to make modifications and redistributions of this gamemode as long as I'm credited for it
--=========================================================================================

-- tables for stuff
tGrenadeEnts = { "weapon_hegrenade", "weapon_flashbang", "weapon_smokegrenade" }

-- weapon meta table additions
local WeapExt = FindMetaTable( "Weapon" )
if ( !WeapExt ) then return end

-- is this weapon a grenade
function WeapExt:IsGrenade()

	if( table.HasValue( tGrenadeEnts, self:GetClass() ) ) then
		return true
	else
		return false
	end
	
end
